package com.hellobike.haxing.modules.wms.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class WarehouseShopDto implements Serializable {
    /**id*/
    @TableId(type = IdType.AUTO)
    private Long id ;
    /**shopId*/
    @Excel(name = "shopId", width = 15)
    private Long shopId ;
    /**warehouseId*/
    @Excel(name = "warehouseId", width = 15)
    private Long warehouseId ;
    /**activeStatus*/
    @Excel(name = "activeStatus", width = 15)
    private String activeStatus ;
    /**createTime*/
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime ;
    /**updateTime*/
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime ;
    /**createBy*/
    @Excel(name = "createBy", width = 15)
    private Integer createBy ;
    /**updateBy*/
    @Excel(name = "updateBy", width = 15)
    private Integer updateBy ;
    /**deleted*/
    @Excel(name = "deleted", width = 15)
    @TableLogic
    private Integer deleted ;

    private String shopName;
    private String warehouseName;
    private Integer isBind;


    private  String mobile;
}
